package Demo2;

import Demo1.Text;

public class Text1 extends Text{
    private void fun(){
        System.out.println(super.name);
    }
}
class T {
    private void fun(){
        Text text = new Text();
        //text.name
    }

}
